//
//  WelcomePage.swift
//  Zapsh
//
//  Created by admin on 28.04.2024.
//

import SwiftUI

struct WelcomePage: View {
    var body: some View {
        VStack() {
            ZStack() {
                RoundedRectangle(cornerRadius: 30)
                    .frame(width: 150, height: 150)
                    .foregroundStyle(.tint)
                Image(systemName: "figure.2.and.child.holdinghands")
                    .font(Font.system(size: 70))
                    .foregroundStyle(.white)
            }
            Text("Welcome to MindFlow")
                .padding(.top)
                .font(Font.title)
                .fontWeight(.semibold)
            Text("Description text and second title maybe multiline")
                .padding(.top)
                .font(.title2)
                .multilineTextAlignment(.center)
            
        }
        .padding()
    }
}

#Preview {
    WelcomePage()
}
